From 59a2ad3e75442f89f88e2cac304b09fb50e70cb6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 24 Oct 2015 17:16:14 +0300 Subject: [PATCH] ; * src/xdisp.c (redisplay_internal): Improve commentary. --- src/xdisp.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 297f789cdaf..057671246e3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13931,7 +13931,15 @@ redisplay_internal (void) if (sf->fonts_changed || sf->redisplay) { if (sf->redisplay) - windows_or_buffers_changed = 50; + { + /* Set this to force a more thorough redisplay. + Otherwise, we might immediately loop back to the + above "else-if" clause (since all the conditions that + led here might still be true), and we will then + infloop, because the selected-frame's redisplay flag + is not (and cannot be) reset. */ + windows_or_buffers_changed = 50; + } goto retry; } -- 2.30.2